package com.xyh.log;

import org.springframework.aop.MethodBeforeAdvice;

import java.lang.reflect.Method;

/**
 * @Author:kyle
 * @Date:2020/12/11 - 17:45
 * @Project:spring_demo1
 * @Package:com.xyh.log
 * @Version:1.0
 */
public class LogBefore implements MethodBeforeAdvice {

    @Override
    public void before(Method method, Object[] objects, Object o) throws Throwable {
        System.out.println("日志前置");
    }
}
